Configuring: .NET Wrapper

Select the dataset to export to the .NET object that you have previously created. The .NET object will determine in what format the dataset is exported, and will determine how the dataset needs to be configured in order to be utilized by the .NET object.  

It is important to know the functionality and configuration of the .NET object as the outputs of the selected dataset need to be configured as the inputs of the .NET object.   

Worked example: .NET Wrapper

Steps to configure

  1. Select fields: Select the fields that will be available in the exported file.

  2. Select object:Select the sink object.

  3. Configure object: Configure the location where the exported file must be saved.

  4. Sink timestamps: Select the timestamp for the exported dataset.

  5. Sink quality: Select how the quality of the exported dataset will be shown.

  6. Execute: A file will be created, based on the selected .NET object.

Step 1: Select fields

Select the output fields that you want to include in the .NET object. These fields will form the input fields of the .NET object.

  • Default: All the fields are selected.

  • Minimum configuration: At least one field must be selected.

Step 2: Select object

Select the file name of the .NET assembly (saved as a .dll file) that you have previously created and the object to use from this file.

  • The .NET assembly that you created can contain more than one object - select the relevant one.

  • Any errors in loading will be listed in the output window.

  • Default: No .NET assembly dll file is selected.

  • Minimum configuration: A valid .NET assembly dll file has to be loaded, with valid .NET objects.

Step 3: Configure object

Configure the location where the exported file must be saved.

  • Minimum configuration: The configuration must pass the runnability check.

Runnability Check:

The [Next] button will always be enabled; however, if the object has not been configured correctly and you click the [Next] button, errors will be shown on this page. Click [Previous] to go back and fix the errors listed.

Step 4: Sink timestamps

Select the timestamp for the exported dataset.

  • You can choose between [Create timestamp] and [Use timestamp fields].

Create timestamp:

  • Either set the start time as now or define the specific start time.

  • Enter an interval for the time increments in seconds.

Use timestamp fields:

  • There has to be at least one timestamp field to be able to use this option.

  • Select a timestamp field from the drop down menu and then map the timestamp field to each available field.

  • Default: The [Create timestamp] option is selected with [Now] being the selected method with a 1 second interval..

  • Minimum configuration: At least one option has to be selected. If you choose to the [Use timestamp fields] option, there must be at least one timestamp field.

Step 5: Sink quality

Select how the quality of the exported dataset will be shown.

  • All good: the bad quality values are set to good and take on the last good quality value.

  • Set nulls to bad: sets all the null values to bad quality.

  • Use quality fields: there has to be at least one integer field that has not been selected as part of the output. Ensure that this field is mapped to all the selected fields.

  • Default: [Set Nulls to Bad] is selected.

  • Minimum configuration: At least one option must be selected.

Step 6: Execute

The dataset will be exported according to the configuration defined. All the selected fields will be exported to the new file that will be created using the DotNET dll object.


Related topics:

  

CSense 2023- Last updated: June 24,2025